// "Copyright [2021] <Copyright Shengkai Lin>"

// This ned defines two types of channels
package cluster.network_devices;

channel Fiber extends ned.DatarateChannel
{
    delay = default(0.1us);
    datarate = default(100Gbps);
}

channel FiberHalf extends ned.DatarateChannel
{
    delay = default(0.05us);
    datarate = default(200Gbps);
}


channel DoubleLink extends ned.DatarateChannel
{
    delay = default(0.1us);
    datarate = default(200Gbps);
}


channel Nvlink extends ned.DatarateChannel{
    delay = default(0);
    datarate = default(200Gbps);
}

channel Pcie extends ned.DatarateChannel{
    delay = default(0);
    datarate = default(0);
}

channel Pcie_real extends ned.DatarateChannel{
    delay = default(10ns);
    datarate = default(100Gbps);
}

channel ControlPlaneLink extends ned.DatarateChannel{
    delay = default(0);
    datarate = default(0);
}

channel FiberNoDealy extends ned.DatarateChannel{
    delay = default(0);
    datarate = default(0);
}
